package com.fulihui.wgj.dal.mybatis.mapper;

import com.fulihui.wgj.dal.mybatis.domain.WxRegion;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface WxRegionMapper extends Mapper<WxRegion> {

    /**
     * 查询微信区域
     *
     * @param rid 区域id
     * @return
     */
    WxRegion queryRegionByRid(@Param("rid") String rid);

    /**
     * 查询微信区域--省份等级
     *
     * @return
     */
    List<WxRegion> queryRegionForLevelProvice();

    /**
     * 查询微信区域--城市等级
     *
     * @return
     */
    List<WxRegion> queryRegionForLevelCity();
}